#include "../begonia.h"
#include "cscreen.h"

void cscreen::display()
{

}

void cscreen::key(unsigned char key, int x, int y)
{
    switch (key)
        {
            case 27 :
            case 'q':
                exit(0);
                break;

            case '+':
                slices++;
                stacks++;
                break;

            case '-':
                if (slices>3 && stacks>3)
                {
                    slices--;
                    stacks--;
                }
                break;

            case 'a':
                ai=true;
                break;
            case 's':
                ai=false;
                break;

        }
        glutPostRedisplay();
}

void cscreen::specialkey(int key, int x, int y)
{


}
